<!DOCTYPE html>
<html lang='en'>
<head>
    <meta charset='UTF-8'>
    <meta name='viewport' content='width=device-width, initial-scale=1.0'>
    <title>Document</title>
</head>
    <style>
        .bold {
            font-weight: bolder;
        }

        table {
            width: 600px;
            border: 1px solid black;
        }
        td {
            border: 1px solid black;

        }
        td:nth-child(n+2) {
            text-align: right;
        }
    </style>
<body>
    <script>
    </script>
    <table>
        <thead class="bold">
            <tr>
                <td>消费项目</td>
                <td>一月</td>
                <td>二月</td>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>衣服</td>
                <td>$100</td>
                <td>$100</td>
            </tr>
            <tr>
                <td>化妆品</td>
                <td>$100</td>
                <td>$100</td>
            </tr>
            <tr>
                <td>食物</td>
                <td>$100</td>
                <td>$100</td>
            </tr>
            <tr class="bold">
                <td>总计</td>
                <td>$300</td>
                <td>$300</td>
            </tr>
        </tbody>
    </table>
</body>
</html>